* {
    box-sizing: border-box;
}

body {
    background-color: rgb(5, 4, 25);
    overflow-x: hidden;
}

#inicio {
    height: 90vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    padding: 50px;
    /* background-image: url(../img/pies.jpg); */
    background-image: url(../img/home.jpg);
    background-size: cover;
    background-position: 50%;
}

#fondo-gradient{
    position: absolute;
    top: 0;
    left: 0;
    background-image: linear-gradient(to right, rgba(5,4,25,1),rgba(0,0,0,0.8),rgba(0,0,0,0.4));
    min-width: 100vw;
    max-width: 100vw;
    height: 90vh;

}

#imagen img {
    width: 100%;
    box-shadow: 0 0 20px rgb(0, 0, 0);

}



h1 {
    color: white;
    /* color: rgb(30, 200, 230); */
    font-size: 75px;
    font-weight: normal;
}

h3 {
    color: white;
    padding-right: 50px;
    font-weight: normal;
    opacity: 30%;
}

hr {
    border: 2px solid white;
}


.feature {
    text-align: center;
    color: rgb(5, 4, 25);
    padding: 20px 0px;
}

.feature i {
    font-size: 50px;
    padding-bottom: 15px;
}

#features-title {
    text-align: center;
    color: rgb(5, 4, 25);
    padding: 20px;
    /* padding-top: 10vh; */
    font-size: 30px;
    font-weight: bold;
    padding-bottom: 2px;
}

#features-title hr {
    margin: 0 auto;
    opacity: 100%;
    width: 50px;
    border: 4px solid rgb(5, 4, 25);
}

#features-title p {
    padding-top: 10px;
    font-size: 20px;
    font-weight: normal;
}

/* SERVICIOS */
.titulo-servicio{
    color: white;
    border-bottom: 6px solid rgb(30, 200, 230);
    font-weight: bold;
    font-size: 40px;
    width: fit-content;
    padding-right: 20px;

}
.custom-caption{
    z-index: 20;
    transition: opacity 0.2s ease;
}
.custom-caption.fade {
    opacity: 0; /* Mostrar el texto con opacidad completa */
}

.img-service{
    /* height: 100%; */
    min-width: 100%;
    height: 75vh;
}

.img-service-container{
    padding: 0;
    overflow: hidden;
    height: 100%;
}

.row-service{
    width: 100%;
}
.carousel-item{
    padding: 0;
    padding-left: 150px;
}

.gradient-service{
    position:absolute;
    top: 0;
    right: 0;
    /* background-color: rgba(214, 29, 29,0.5); */
    background-image: linear-gradient(to right,rgba(5,4,25,1),rgba(5,4,25,0.4));
    width: 54%;
    height: 100%;
    z-index: 1;
}

.texto-servicio{
    color: white;
    padding-top: 25px;
    text-align: justify;
}

.btn-service{
    background-color: rgb(30, 200, 230);
    color: rgb(5,4,25);
    border: none;
    font-weight: bold;
    padding: 7px 30px;
}

.btn-service:hover{
    background-color: white;
    transition: 0.5s;
}

.btn-service i{
    padding-left: 10px;
}

.btn-service-container{
    padding-top: 30px;
}

.titulo{
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    padding: 40px;
    padding-top: 100px;
}

.carousel-control-prev, .carousel-control-next{
    width: 10%;
}

#servicios-container{
    min-height: 100vh;
}

/* CONTACTO ----------------------- */

#img-form{
    width: 100%;
    min-width: 100%;
    min-height: 100%;
    background-color: rgb(5, 4, 25);
}

#img-form-container{
    overflow: hidden;
}

.label-contacto{
    color: white;
}

.input-contacto{
    background-color: transparent;
    border: none;
    border-bottom: 3px solid rgb(30, 200, 230);
    color: white;
    width: 100%;
    padding-top: 5px;
    padding-bottom: 10px;
}

.input-contacto:focus{
    background-color: transparent;
    color: white;
    outline: none;
}

#form-contacto{
    padding: 20px 70px;
    width: 100%;
}

#titulo-contacto{
    color: white;
    font-weight: bold;
    font-size: 35px;
    padding-bottom: 30px;
}

#contacto{
    min-height: 90vh;
}

.form-container{
    display: flex;
    align-items: center;
}

#contacto-gradient{
    background-image: linear-gradient(to left, rgba(5,4,25,1),rgba(5,4,25,0));
    height: 90%;
    width: 50%;
    position: absolute;
    left: 0;
}

/* COLORES -------------------- */
.sky{
    background-color: rgb(30, 200, 230);
}
.sky-text{
    color: rgb(30, 200, 230);
}
.dark{
    background-color: rgb(5,4,25);
}
.dark-text{
    color: rgb(5,4,25);
}
.blue{
    background-color: rgb(24, 92, 227);
}
.blue-text{
    color: rgb(24, 92, 227);
}
.light{
    background-color: white;
}
.light-text{
    color: white;
}



/* ANIMACIONES ---------------- */
.fadeDown {
    /* position: relative; */
    animation-name: fadeDown;
    animation-duration: 2s;
}

.fadeUp {
    /* position: relative; */
    animation-name: fadeUp;
    animation-duration: 2s;
}

@keyframes fadeDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0) ;
    }
}
@media only screen and (min-width: 1392px){
    .gradient-service{
        width: 55%;
    }
}
@media only screen and (max-width: 1392px){
    .gradient-service{
        width: 53%;
    }
}

@media only screen and (max-width: 1138px){
    .gradient-service{
        width: 52%;
    }
}


@media only screen and (max-width: 768px){
    #contacto-gradient{
        display: none;
    }
}
@media only screen and (max-width: 992px){
    .gradient-service{
        display: none;
    }
    .img-service-container{
        padding: 50px 10px;
        max-height: 600px;
    }
    .img-service{
        width: 100%;
        height: auto;
    }
    .carousel-item{
        padding: 30px 80px;
    }
}

@media only screen and (max-width: 563px){
    .img-service-container{
        /* padding: 20px 10px;
        max-height: 400px; */
        display: none;
    }
    /* .img-service{
        width: 100%;
        height: auto;
    } */
    .carousel-item{
        padding: 30px 60px;
    }
    .titulo-servicio{
        font-size: 30px;
    }
    h1{
        font-size: 60px;
    }
}

